home *** CD-ROM | disk | FTP | other *** search
- Path: news.xnet.com!kd9fb
- From: kd9fb@flood.xnet.com (Peter Mikalajunas)
- Newsgroups: comp.lang.c
- Subject: Re: 2 C under VMS questions
- Date: 11 Jan 1996 22:30:06 GMT
- Organization: XNet - A Full Service Internet Provider - (708) 983-6064
- Distribution: world
- Message-ID: <4d431e$2v@flood.xnet.com>
- References: <4d3eok$hm4@netope.harvard.edu>
- NNTP-Posting-Host: cyclone.xnet.com
- X-Newsreader: TIN [version 1.2 PL2]
-
- Richard Congdon (richard@phdcn.harvard.edu) wrote:
-
- : A couple questions for VMS C gurus"
-
- : 1) Is there any way to do this on VMS?
- : freopen(optarg,"rt",stdin)
- : This call fails. Do I want something other than stdin?
-
- What Compiler? ie, VAX C or DEC C
- Which version of OpenVMS?
- Is the box Alpha or VAX?
-
- Take a look at the curses library. The "rt" will never fly by
- the way. Look in DEC/VAC C manuals and you will find out why.
-
- : 2) Is there any functional equivalent to Unix ftruncate() or DOS chsize()?
-
- Again, read the compiler manual. It is in there. Hint, take a
- look under RMS.
-
- : email replies would be preferable...
-
- : Richard Congdon
- : Harvard School of Public Health
- : 617/432-0995
-
-
- Peter Mikalajunas
- kd9fb@xnet.com
- http://www.xnet.com/~kd9fb
-